package com.cpecc.manager.wuzi;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cpecc.dao.wuzi.FuJianDao;
import com.cpecc.model.wuzi.BaoFei;
import com.cpecc.model.wuzi.FuJian;

@Service
@Transactional
public class FuJianManager {

	@Autowired
	private FuJianDao fuJianDao;
	
	public void save(FuJian fuJian){
		fuJianDao.save(fuJian);
	}
	
	public FuJian get(String id){
		return fuJianDao.get(id);
	}
	
	public boolean delete(String id){
		return fuJianDao.delete(id);
	}
	
	public List<FuJian> list(BaoFei baoFei){
		return fuJianDao.list(baoFei);
	}
}
